const routes = [
    {
        path: '/',
        name: "myContainer",
        navName: '',
        component: () => import('../viewComponent/myContainer.vue'),
        redirect: '/schoolHome',
        children: [
            {
                path: '/schoolHome',
                name: "schoolHome",
                component: () => import('../components/neiRongCompo/schoolHome.vue'),
            },
            {
                path: '/CurrentLeader',
                name: "CurrentLeader",
                component: () => import('../components/neiRongCompo/CurrentLeader.vue'),
            },
            {
                path: '/SoftwareCommunication',
                name: "SoftwareCommunication",
                component: () => import('../components/neiRongCompo/SoftwareCommunication.vue'),
            },
            {
                path: '/mechanicalEngineering',
                name: "mechanicalEngineering",
                component: () => import('../components/neiRongCompo/mechanicalEngineering.vue'),
            },
            {
                path: '/schoolInfo',
                name: "schoolInfo",
                component: () => import('../components/neiRongCompo/schoolInfo.vue'),
            }
        ]
    },
    {
        path: '/myLogin',
        name: "myLogin",
        component: () => import('../login/myLogin.vue'),
    }
]

export default routes